from rest_framework import serializers
from .models import McIdentity

class McIdentitySerializer(serializers.ModelSerializer):
    class Meta:
        model = McIdentity
        fields = ['id', 'name']